Finsihed getPlayablePalaceCards

Hopefully finalized code for this method