Further implemented Graph typeclass.
Further implemented Grap typeclass.