Compute class

Write the class to compute BMI