derive Ord, Eq, and Num for {Row, Col}