TestGorilla interview question

The coding challenge was to debug a prime number function.