Test task with variuos graph algorithms