add misc.h with CTOI macro for converting character numbers to ints