Added array for determining all units in target range
Added code comments