writing function

writing the function to calculate beeStings and weight