Task for the Artificial Intelligence class at UFRGS (2013/1)