ring signature bugs fixed, program functioning