Adding comments

still adding comments to Memory.cpp and Memory.h