Converts dinary to binary