Graph theory class work