Finished Memory- class and implemented it