Update Sensor_Logic.uno

I have added a concept at the bottom from line 40-52. This is for making the code to terminate using crt-c in the code after the readings have finished from the sensor. I found this at http://stackoverflow.com/questions/1641182/how-can-i-catch-a-ctrl-c-event-c?s=ef1b05af-0569-4e3e-ba41-1428ba53fe29#new-answer