change introduction to algorithm section and fix references