Pricing of exotic options and numerical algorithms