Replaced functions that returns `-1` to signify failure with ones that return true/false and the useful value through a reference.

Also added a bunch of debug serial print statements that create a log of the demo as it happens.
Added Arduino Makefile for command line compilation.
Added Makefile for RedRunner and make a few small changes following compiler warnings.