Implemented solution for CodeEval's Prime Numbers challenge
https://www.codeeval.com/open_challenges/46/