A tiny hand crafted CPU emulator, C compiler, and Operating System