Converts number from one base to another i.e. Binary to Decimal