p-Adic string compactified on a torus