added functionality in main loop to test for numbers above and below the
user's number.
added functionality to test numbers higher/lower than user number. Also
added exit condition if a prime is found.