sim: cpu_sim: start working on C++ cpu simulator