gpu version of syndrome_check result right
extract method updateCheckNode and updateVariableNode ,ready to port to gpu
simplify parameter