HW 5 v3

working on count-to-by with for and while loops. problem is setting
length. checked another student's solution and like it, but want to
understand it better.