https://myeduwaves.com/leetcode-solution/leet-code-reverse-integer-solution-in-java/