practice with longest/shortest word methods