Added haskell code for lab assignments