[Haskell] Generator Function for Prime Numbers