Changed class name of Cell to Node and constructed getters and setters for private variables