Studies of substructure in clusters of galaxies : a two-dimensional analysis