Added core functionality to primes
Added Range