Testing out graph functions