added code for autocard

http://archive.wizards.com/Magic/magazine/article.aspx?x=mtgcom/arcana/172