Edited originality statement, edited the square method and listPrime functions.