Binary to decimal and octal converter, and back!