added my first function

This function calculates the difference in the current weight and ideal
weight variables to determine the amount of weight needed to loose