Add Graph class with basic methods and documentation