rename createhierarchy.cpp to more canonical name
compile with -std=c++11 on os x 10.9
..