Added a main function for the collatz implementation.