Term project for Artificial Intelligence