exact same year, in pascal also, I did the same thing for an assignment implementing an embedded multitasking mini OS. I was so exicited at the idea of making my own multitasking system I went home and coded it all on paper. Went in to the lab the next day, coded it in, and it worked straight away with only a few minor issues.