Example code of how to take a binary number, reverse it, and return the digit.