Fix a few issues

These changes are experimental and for learning purpose so they are a bit hard to explain. But in hindsight the old algorithm didn't deal with cards moving between categories correctly. This algorithm works according to ghci testing between two decklists.

Created by  wgaffa  on April 6, 2024
M54PYKIOETT3UT4N6HHTAENU4D5HB7MNEFEXM5CX6PJ4FTQIRAAAC
Change contents