Added Node class to represent code