some igraph methods on graphs - examples