Project 1 : Memory with merging blocks