detect prime added
updt binaryTree and makefile