First algorithms from Graph Theory implemented