https://medium.com/@chillbill660/python-program-to-check-prime-number-using-a-flag-variable-9996a028af40