A MIPS emulator written in C