Command-Tab switches to the app you used most recently. Hold Command and keep tapping Tab to walk through the app switcher, and add Shift to walk back the other way.