An Enumerative Algorithm for the Frequency Assignment Problem