Adding python solution to problem 6
Adding problem7 python