Fill constructor added to vector class