Changes to melons.py done in lp_melons.py to get task 4 working