N Queen Problem In Java