fixed the alg bug in program and updated results