fix hw4, small update to proj1
wrote needed fcns for merge sort, but inf recursion on sort?