kttools.h/c is a lib for converting types (only currently contains i_to_str). Also added a printf for i/o.