added directory to src for mips, moved pseudocode