Changed the scope of certain functions to make the public interface
clearer. Not sure if this the best way to do private methods in
Javascript.
Tested 2x2 R-shape becomes 2x2 block.
Corrected test cases where row is longer 3 live cells, the adjacent row
should have become alive.