Created BMI function