Add basic hashCode() and equals() to RowAndColumn