Constructing non-Abelian vortices with arbitrary gauge groups