Adding assignment3.hs