fixes to hw2-3, courtesy Susan
week 3 homework etc.