basic functionality to determine if capture scenario in the game of Go