Local well-posedness for the Zakharov system on multidimensional torus