working prime number - needs python3