Included put option function, but not merged.
Both call and put options considered.