Three symmetric solutions of lidstone boundary value problems for difference and partial difference equations