start implementing use of heap in Element() and Cons()