Lab 6 done with list comprehensions.