Stop hard-coding column indexes.

Previously, when accessing spreadsheet data, the code was accessing
google's column header indexes, which is kind of like hard-coding array
indices (anyway it would break if the columns were ever moved or
changed). This commit searches for the correct column header names and
then accesses values based on those headers, so if a new column is
added, the correct data can still be found.