Create bug.pde

May need to trim out some of the commented stuff, plenty of debug printlns. The first two variables in the file control which of the two layouts and algorithms to run. Runs in Processing.