Replace Array with std::vector in dict.{h,cpp}.