Fixed alloc in heap. Implemented alloc function.
Implemented pointer.