One of the homeworks from the iOS course