Update first try

Implemented alloc and free