The mutual consent of the parties is a sufficient consideration for such an agreement as is mentioned in the last section [40-2-8 N.M. Stat. Ann.].