you made a variable l and a variable i right next to each other. Considering their similarities in shape (the letters themselves), I'd consider changing one of those variables to be a bit more descriptive. Considering i is an index variable, maybe l (lower case L not i) can be changed to be more descriptive.