Solution to P35
P35: move primeFactors into the companion object in order to be usable in other problems
P10: move encode into the companion object in order to be usable in other problems
P31: addition of a test with a big prime number
Tictac procedure to benchmark some algorithms
Solution to P36