rhyming in Python