Use wizeman's algorithm
Added solution 32