Graphs Beginner Python