info={2,4,5}

VandermondeMatrix[nodes_]:=(
list=nodes;
vanmat=Table[Table[If[list[[j]]==0 &&i==0,1,(list[[j]])^i],{i,0,Length[nodes]-1}],{j,1,Length[nodes]}];
Print[MatrixForm[vanmat]];
)

VandermondeMatrix[info]