weighted graph puzzles