Adding haml and foundation.
Moved the pattern generation to the model, and regenerated the view to be haml-ified.  Also fixed a step which would randomize 0 - 99999 intead of 1 - 100000.
Found a new bug, going to write a test case.
Fixed the bug, removed the unused column.  Only current known issue is with the generation of a pattern.
Realized I'd forgotten the scenario where only one leaf falls.  The submitted pattern is then not an array.  Scenario created and code written to have that exception pass.
Finished the project.  Front-end interface is up and running.  Removed any unnecessary files.