Studying for a test in my artificial intelligence class.  Found this problem on one of the prev