Deleted third problem as defined by the assignment, defined problem in own words.