finished working on trying to test bb algorythm