Added iostream include to Memory.hpp