Drawing graph first attempt