Transition to chaos in a confined two-dimensional fluid flow.