Numerical study of a pair of spheres in an oscillating box filled with viscous fluid