Added pic.c pic.h and modified the makefile to compile it. The kernel.c now includes pic.h