sequential algorithm lietuviškai