Implement 8 Queens Problem Python Interpreter