Reimplemented method com.github.fritaly.projecteuler.Utils.getPrimeNumbers(int) to optimize performance