this was for a competition, the goal was to find the minimum dominant set (in a weighted configuration of nodes)