"A earn out agreement is a legal agreement or contract which is made when a company is being sold." . . . . .