right movement working, does not work if there are gaps in the numbers eg 1010 becomes 0101.
Added input via io/console reading STDIN