Base2 to Base10 and Base10 to Base2