Create PrimeGenerator.java

generate a list of prime numbers which are less or equal to number N