Better implementation of randomTwoWord