def deallocate(self, address):
    if (type(address) != int):
        raise TypeError(("Address used to dellocate memory in Virtual_Memory instance must be type 'int'. Type: " + str(type(address))))
    deleted = False
    for chunk in range(0, len(self.chunks)):
        if (self.chunks[chunk][1] == address):
            del self.chunks[chunk]
            deleted = True
            break
    if (not deleted):
        raise IndexError(('Given address to deallocate memory of Virtual_Memory instance is not a correct Virtual_Memory_Chunk starting address. Address to deallocate is ' + str(hex(address))))
def deallocate(self, address):
    if (type(address) != int):
        raise TypeError(("Address used to dellocate memory in Virtual_Memory instance must be type 'int'. Type: " + str(type(address))))
    deleted = False
    for chunk in range(0, len(self.chunks)):
        if (self.chunks[chunk][1] == address):
            del self.chunks[chunk]
            deleted = True
            break
    if (not deleted):
        raise IndexError(('Given address to deallocate memory of Virtual_Memory instance is not a correct Virtual_Memory_Chunk starting address. Address to deallocate is ' + str(hex(address))))