Implemented random Graph generation and overloaded operator<< for Graph