Added java versions of Merge sort and Quick sort