project done for AI class.