Graph implementation + Cow/Rabbit initialisation