Reconfiguring the boundaries of a mesh-connected array of processors with run-time programmable logic