added lab2.hs