done working fo rnow
fixed merge sort, need to work on median