Simulations of hindered settling of flocculating spherical particles