Extract function of double digit
Check charcode of digit

use .get() method instead of >>