An efficient and simple motion planning algorithm for a ladder amidst polygonal barriers