added lab3.hs