added a binary to decimal converter