Understanding the essential elements of a valid and legally binding contract