Backtracking Algorithm Python Example Code Pdf