implementation of swap financial instrument
swap header file