Update socode.py

added an fastest algorithm for checking of prime numbers