Refactor line reader to deal in arrays of digits
Checksum calculator - naive implementation