def coord_to_int(coordstring):
    """Reads a coordinate into a couple in the following way: The input is of the form
        '(x,y)' where x, y are integers. The output should then be
        (x, y), where (x, y) is a tuple of values of type int.
    None of these values are strings.
    Example:
        coord_to_int('(0,1)') returns
        (0, 1)
    """
    comma = coordstring.find(',')
    first_int = int(coordstring[1:comma])
    second_int = int(coordstring[comma+1:-1])
    return (first_int, second_int)