made a basic heap, ver 1.0