Small-group problem-based learning as a complex adaptive system