Added distance calculator

isPrime edited