ADDED: randomized opfor groups implemented

ADDED: coin flip function