lab3. master vershion +shifted lagerr