added r-tree basic knn search test, gcc compilation errors fixed, *.cpp test files divided to more smaller files.