finished iterators and added front and back