Tweaked small parts of printPrimes() for clarity
added comments
renamed varaibles
introducing recurrign varaible nextNum
Removed legacyInput entirely
More slight tweaks to printPrimes()
Renamed J to currNum
Clarified the first if statement in calculateOddPrimes()
Renamed variables and improved clarity of calculateOddPrimes()