update myLast and scrabblify to use foldr