Adding unfinished median solution