Text this: Stability theory of switched dynamical systems