Fixed the bugs in listPrime so that it works and changed the README.md file to reflect that