immplement graph functioinsto plot graph #68