Created a BMI calculator in Java.