Nuclear spin maser with an artificial feedback mechanism