Tidy up cabal file
Move nextInt declaration into where clause
Create .gitignore
Use an underscore for unused pattern variable