AI and ML for Software Engineers: Foundational Insights