Fixed binary2decimal method to scan input and return a result. Still need to work out algorithm.