Added tail(), updated for backward iteration