first implementation of ruby clock
initial implementation of ruby prime_factors
correct but stack level too deep error