Block World from AI in Python