Added my solution to problem 12