Script to calculate Prime Numbers