doubled(nums) that takes a list of
numbers as a parameter, and returns a new list of numbers in which each number
from the original list has been doubled.
shortWords(words, top) that takes a lsit of strings as a parameter, and returns a new list of strings whose length
is less than or equal to the integer top.