Edit the following python class so that it is a singly linked list.
class Node:
    def __init__(self, data):
        self.data = data
        self.prev = None
        self.next = None
class Node:
    def __init__(self, data):
        self.data = data
        self.next = None