Discrete partitioning and coverage control with gossip communication