[Haskell-beginners] Getting a specified number of lines from stdin