model 1 implementation
IBM model 1 working