Haskell exercises

Simplified two examples and added nth-prime