Change vector.at(i) notation to vector[i]