N-Queen Problem under Four Different Architecture Styles