Fixed compiler errors and created a mipsim executable.