Click the Cat to enter a binary number. In theory this will work perfectly, but please comment any errors. Feel free to check the code.
This was (once again) inspired by a challenge from my friend, based on a recent IT lesson.