initial commit for ALDS1_2_B
accepted in C++11