Some Simple Distributed Algorithms for Sparse Networks