Printing prime numbers between two  numbers