created HW06
ran into NAN's on HW06 lvl 2