For my study we have to work on simple grafic alghorithm