0, Not 1

Started counters with 0, not 1.  Adjusted "<=" operator as well.