added PrintVector method