added reverse_iterate

added reverse_iterate
removed allegro specific stuff