Creating an Operating System in C for class