Adding malloc implementation using explicit lists