Implemented is_connected method in Graph class.
Implemented computed property degree in Vertex class.
Implemented is_linear method in Graph class.
Implemented is_cyclic method in Graph class.