Beat the egg whites until stiff but not dry. Stir in the cheese, cayenne, and flour. With floured hands shape into walnut-size balls and press a cube of ham into the center. Heat the oil at least 1/2 inch deep to about 390-400 degrees Farenheit and fry until golden. (May be kept warm in a 200 degree oven for up to 30 minutes.)