modified and added IO functionality
modify mainly position.ml

ppp is for toplevel, i.e. #use "ppp.ml"
samples are sample data and generation script