My attempt at Paradigms of Artificial Intelligence Programming