Shouldn't you be checking whether ```r``` is in the tabu list instead of ```rQuality```?