Added the getFirstElement in Lists, Sets and SortedSets