The Equivalence Problem for Systems of Second order Ordinary Differential Equations