Calculating collatz sequence
Too much brute force
Brute forcing
Trying in ruby
Dynamic programming in ruby
Little bit of refactoring