deleted class Node
added class point
added methods of class point