Added a function to process through the list of centroids if one is rejected. If the list is emptied with all being rejected, then the program is finished, as no reachable frontiers exist. At least according to what I could glean from the scant documentation...