Simple MIPS pipeline simulator implemented in C++