APPLICATION OF PATTERN RECOGNITION TECHNIQUES IN ANALYSIS OF CEREAL GRAINS