def xy_to_key(row, col):
    """ given row and col returns the respective character.

        Args:
            row : index of row.
            col : index of col.

        Returns:
            keys[row][col] : character corresponding to row and col
    """
    keys = [['q', 'w', 'e', 'r', 't', 'y', 'u', 'i', 'o', 'p', 'å'],
            ['a', 's', 'd', 'f', 'g', 'h', 'j', 'k', 'l', 'ö', 'ä'],
            ['-', '-', 'z', 'x', 'c', 'v', 'b', 'n', 'm', '<', '<'],
            ['-', '-', '-', ' ', ' ', ' ', ' ', ' ', '>', '>', '>']]  # < : backspace, > : enter
    return keys[row][col]