__main__.py : Fixed potential problem with users generating number of length 1
tests : Implemented more tests