Create simulator.cc

how to run? 
./simulator <file_name>.txt <number_of_frames>