wrapper for sysfs access to raspberry pi gpio pins with example application for operant behavior