Refactor: Delete commented out code
Refactor: Replace int with bool
Refactor: Replace int with bool
Refactor: Replace int with bool
Refactor: Replace int with bool
Refactor: Replace int with bool
Refactor: Replace int with bool
Refactor: Replace int with bool
Refactor: Replace int with bool
Refactor: Replace int with bool
Refactor: Replace int with bool
Refactor: Replace int with bool
Refactor: Replace int with bool
Refactor: Replace int with bool
Refactor: Replace int with bool
Refactor: Delete commented out code
Refactor: Replace int with bool
Refactor: Replace int with bool
Refactor: Replace int with bool
Refactor: Delete unused variables