Uploading solution Collatz Conjecture

JavaScript solution