N Queen Problem Using Python