added specs and methods for dividing an array in half
added spec and method for recursively sorting the halves of the original array
reworded if/else statement in sort_array method to be more readable