xcode 6 bmi calculator dabbling