BMI python program for CS223p, Fall 2014