結果 : what is a contract explain the essential elements of a valid contract giving suitable examples