N Queen Problem Solution