Add example for malloc