Finished
Fixed the bug that 1-bit digit is ignored as input