Initial commit. Slightly cleaned up code mostly from http://www.raspberrypi.org/learning/parent-detector/