Fix the bug #42 - replace the heap_2.c to heap_4.c

*heap_4.c implement a better algorithm about the memory management
Merge pull request #43 from shengwen1997/master

Replace heap_2.c to heap_4.c