Write a function (def findDuplicates(lst)) that takes a list and returns a list of duplicate elements.