this version works on integers. the problem was the bounds that i was calling mergesort on. keep this in mind for future