fixing vector iterator and adding get_last and remove_last
updating vector test