started adding heap functionalliy

not very ready yet but compiles