Code for problem "Reverse Integer".