Create Prime-number-detector

Python code for class