Two Foraging Algorithms for Robot Swarms Using Only Local Communication