Return Bottom if the arguments of length and divide are invalid.
Add .gitignore to ignore dist directory generated by Cabal.