Python Sliding Block Puzzle Game