Sets

A Set is a collection of elements with no duplicates, ordering cannot be guaranteed.

val set = Set(1, 2, 7, 1) 
println(set)
println(set.head)
println(set.tail)
println(set + 25) // Creates new instance.