fixed compile time warning (int vs uint in comparison)
added Cell concept
cell functions for extracting aggregate information on cell history