second homework first task in obj-c