European call option
If X <= S, then the payoff is S - X.
If S < X, then the payoff is 0.