Program to input and then oder proverbs
according to their length