Adding solution for 5_1
Adding problem for 5_2