Update main.py

adding RPi.GPIO functions