commit 2

Added for loop