small refactoring
LifeGame-4 Enhance touch algorithm