Please go to http://www.cse.yorku.ca/course_archive/2011-12/W/3401/3401.htm