Almost the entire loop for training set
Merge branch 'master' of https://github.com/dkang81/ocamlclient
close to round trip working, but somehow answers don't seem correct