add capital_letters algorithm