Small Doubt in Holiday_accommodation

How l[node] is incrementing the loop while node is initialized as zero