Implemented Gossip and Push-sum algorithm with various topologies like full network, line, 2D grid and imperfect 2D grid, using Actor model in Scala.