Add coordinates method to cells