Completed week 3 programming assignment.