Update POJ 1308 Is It A Tree?.cpp