Codes have full comments to describe the usage of each line. Feel free to taste them.
My own designed malloc function(same functionality with malloc one in C) based on sbrk