Refactoring go version of Tchoupi
Refactoring test of Tchoupi