https://medium.com/@AlexanderObregon/solving-the-palindrome-number-on-leetcode-swift-solutions-walkthrough-a6c27cfc9a76