Added the text layout example, with my addition of horizontal and vertical alignment support.