Hash function rework
Functions to count the number of alive cells, just started