added ArrayAlgorithm.hpp