Fixed braces and spacings on printPrimes method