Writing some ruby code where I need to compare 2 arrays and return True if the arrays are the same. Wondered how to do this task in different languages