Cascading Failures in the Global Financial System: A Dynamical Model