Update lab1.pl

Fix nipote()