N Queen Problem Using Python Dictionaries