Update printk.c

Adding new function , int type_printk(int type, const char *fmt, ...) , it will print an output and adding type , 1 :  [error] . 2 [log] 3 [action] . TODO : other types