Edits the README.
Abstracts out the checking of whether or not two cells can merge and the method by which two mergeable cells do merge.
Implements a mod 3 based merging system. Changes the css to fix color the congruence classes differently.