Change the get/set methods to accept both row and column as arguments

Fix `get()` method and `set()` method according to the discussions with Ondrej.