iOS Tip Calculator class assignment