Cleaned Python 2 functions for primes. Implemented lazier prime functions allowing more code reuse. Refactored to make things simpler.