def __init__(self, data=[]):
    self.inputs = []
    self.memory = []
    self.initial_memory = []
    if data:
        self.load_memory(data)
def __init__(self, data=[]):
    self.inputs = []
    self.memory = []
    self.initial_memory = []
    if data:
        self.load_memory(data)