A software tool for programming, teaching and using data analysis methods