add BMI calculation, pass person dict into funcs

moved person from being a global variable to being passed into each function