Barrier Option Pricing Python