game logic implemented

TO DO: count alive neighbors