Yang-Mills theory on the lattice