A Swift implementation of the Heap data structure