added solution to problem 007