Graphs homework