HW1: complete tasks 1, 2, 4, ~3