Node class created

Created node class and overrode init method