A simple OS in C