initial commit for ALDS1_1_A
accepted in C++11