Updated take_turn to use processes; general pipe work