practise to write a operating system