Fixed Issues within the P1 class. This should get 100/100 now. Also
added a few additional test cases in the testFile.txt