Problem solving assignment for week one.