Modelling of tsunami generated by the motion of a rigid block along a horizontal boundary