Any irrigation district formed under this act shall have power to extend its main ditches, for the purpose of obtaining a sufficient supply of water, into any adjoining county or counties, and through as many counties as may be necessary in order to secure a sufficient supply of water.