added heap header and implementation files