Added sorting functions to array list
Generic array list with merge sort is now running