Show all prime numbers between 2 numbers:

Numbers can not be higher than 10001!