added new kernel.c from skeleton