Fixes to prime module, added nth prime, began working on pep8