class Node:
    def __init__(self, value, link = None):
        self.value = value
        self.link = link

    def get_value(self):
        return self.value

    def set_value(self, value):
        self.value = value

    def get_link(self):
        return self.link

    def set_link(self, new_link):
        self.link = new_link
    