Understanding Neural Networks and Fuzzy Logic: Basic Concepts and Applications