Enter n, d in the code below and this program will show the coordinates of maximal regular simplex in Q^n with edge sqrt(d).