fixed getPrimes, added getPrimes3, addFraction