implement adjMine updating
infinate loop
fix loop bug and case bug