added graph tasks from Algo Academy