adding first version of the code for learning how to code views in iOS