Simple nested loop & index nested loop have been added.