Some tools for analyzing networks