Solver utility for The Graph Game