On the implementation of a primal-dual algorithm for second order time-dependent mean field games with local couplings