Python solver for the 24 card game