Vertice and Edge class getters return the head