refactor: refactor for loop syntax and if syntax
refactor: refactor for loop syntax and if syntax

* Refactor unnecessary 0 at starting positions of for loop syntax
* Renamed section reject threshold variable in __init__ args

Foxiy/board2slides