Algorithm for the Interaction between Swarm Agents Based on the Concept of Thermal Motion of Atoms | Synapse