A course project from AI course.