added numbers as buttons
added prime checker
fixed isPrime() functionality