finished hwk 3! not beautifully done though...