fix my_putchar && add some functions