Just to clarify, are the coordinates (x, y) or (row, col)?
From the sample, it appears that they are (row, col) but I think that should be specified.
Thanks.
You are correct, the format is (row, column).