Node class added.. memory is now a linked list