edited HW1.hs to similar to what we turned in.