changed converty code for decimal to accept every 2 bits