Implementace IsInGridAndAlive + Unit testy