fixed a bug, added another method

-corrected a slight bug in the primeNumbers() method
-added isPrime(), thought not sure if it will be of any use, checking if
the arraylist from primeNumbers contains a specific number might be
faster