Code from a tutorial on how to programatically make buttons in Objective C