Introduction to Artificial Intelligence and its application