updated my_solution to median challenge