Trying to save and load vector from a file