Add ch_select.cpp
Merge branch 'master' of https://github.com/Jonathan2251/lbd