Project Euler No.14

No:    14
Title: Longest Collatz sequence
Lang:  Java