Added some new number theory functions and updated README.md