Clean up prime algorithm (#7)
Clean up prime algorithm (#7)

* Made interface to findPrimes not dependent on the number of threads, and made the implementation flexible with the number of threads.

rossica/primebot