graph build and display complete, add edges works also