Role of nitrogen in AlNxMn3: A density functional theory study