Life game(part-3)