coded up the set_cover