Minor bug fix & re-create algorithm

Fix: srand(time(NULL)) added
Fix: new algorithm without Bsend