Added some more comments to malloc function.