Finally finished with problem 21