Resonant dipole – dipole interaction of Rydberg atoms for realisation of quantum computations