Computer simulation of bridging flocculation