A highly optimized vectorized code for Monte Carlo simulations of Su(3) lattice gauge theories