added class for creating graph and testing block identification code