Finished human solve + guess algorithm