First realisation of malloc