Programming and Problem Solving Problem 1