Body Mass Index java calculator