added (working?) heap code

gave up on learning terminal github stuff and got the app and i have no
shame