Microsoft interview question

get all primes between 2 numbers