Implementing text alignment!

Hi Chris,

I added text alignment and demonstrated it in the example. I hope it is up to snuff.