add nest for loop practice code