counting grid class v1.2 - debugging hashmap