Computer-simulation of the multiple-quantum dynamics of one-, two- and three-dimensional spin distributions