add bintoc func and example folder