CSCI E50B Unit 7 Problem 1