Class utilizing various Graph theory algorithms