HW 14: step 1, 2, 3, 4, 5 and bonus 1, 2