Fixed ownership issue

Because wiringPiSetup has to be run as root, files pulled from git have ownership changed to root.
Added line to change ownership back to matt.
Also made the swipe_loop function return integer, so that main can return the appropriate return code.