A simple computational dynamics solver