(modifyArray): New function wrapping common idiom. Use it everywhere.
(modifyArray): New function wrapping common idiom.
Use it everywhere.

rbonifacio/funsat,rbonifacio/funsat,rbonifacio/funsat,rbonifacio/funsat,dbueno/funsat,dbueno/funsat