HW3: 3.3 Functions partially implemented