Update and rename char2num.c to basic.c