Deleted unused heap functions.
Created makefile and made small changes to get it to compile under GCC on Linux.