Add cli interface, add makefile, update .gitignore, update readme, add support for non-mersenne numbers