Goal-Oriented Artificial Intelligence And Machine Learning