Update BinaryToDecimal.java

Convert a Binary number to Decimal.