Add parameters to methods

By this way, we create just one for() loop, inside that one we pass
through methods which variable (i) need to pass to locate each part
(motor, sensor...)