This is the code that worked decently until Microtaur started to fail to recognise tuples.
Added video of Microtaur as of 2/9/2014.