Add comments and fix indexing in parallel_string_kernel.py