loops homework