Completed exercises from https://github.com/paf31/purescript-book