FOUNDATIONS OF CODING AND AI