Solved Reverse Integer problem.