Cleaned up & generalized some CAPanel code, added classes for different
types of automata. 

TODO: efficiently copy arrays in grid implementation, use arbitrary
neighborhood size