https://wikimass.com/php/alphabet-patterns-program