rename examples to .c for syntax highlighting
move MIPS memory management into its own module
minimize compiler warnings