updated .gitignore to ignore rcpsim
added actual RCPSim main() code