Updated Code

When doing the main loop at the end of the program, currently yours does not check the actual number entered by the user as Python loops do not execute on the upper bound. So I changed it to check the number + 1. 

In the isPrime method you only need to check up to the sqrt(number) + 1 in order to tell if it is prime so I changed that as well

Make sure the updated code runs as expected on your machine after you merge the pull request