Added limit on number of words that could be swapped once to 5.