FAST interview question

Pseudo code for isPrimeNumber