implemented backward algorithm. Also started experimenting with new style for writing long sequential list operations