Dumb algorithm and fourMult algorithm added