Implemented BlackWidow Algorithm