Text this: Stabilization of inverted pendulum system using discrete sliding mode control