Singly-linked lists in Swift.