IR Sensor Simulator Created

IR Sensor Simulator created, ready for code review.
Also added Mac auto-generated file to .gitignore list.
Some clarification comments added.