Wrote sum.hs.