Change guess_palette so its output matches the most common palette.