Python Program For 8 Queen Problem Algorithmic Trading