refactored a little

- removed the fixed sized collections
- changed the for-loop to go from 0 to count
- extracted findPrimes method
- tweaked statics