add SherlockandArray.cpp