after adding hw3 and in that reading file into a vector