finished intvector part of lab 5