Solve Reverse Integer bug-free