*fixed hash dynamic allocation and moved the isprime and nextprime functions to the hash class
*tweaked main to include more options - STILL NEED USER INPUT