def __init__(self, max_memory):
    if (type(max_memory) != int):
        raise TypeError("Max memory of virtual memory class instance must be type 'int'")
    self.max_memory = max_memory
    self.chunks = []
def __init__(self, max_memory):
    if (type(max_memory) != int):
        raise TypeError("Max memory of virtual memory class instance must be type 'int'")
    self.max_memory = max_memory
    self.chunks = []