spent 5 minutes on merge sort