add Capital Letters algorithm