hw2 done, fixed empty list conditions, now receives perfect score