N Queen Problem Using Python For Stock