Creating an OS from c++ for class