Written in Python in Fall 2012 semester for Advanced Artificial Intelligence