Started work on median sort algo