Playing with Graph algorithms