Add dynamic memory chapter