Backtracking Algorithm Python Example Code Gui