Create procsim.cpp

Sets up the processor, simulates the code and computes the results