tidied up main, renamed playedCards container variable, easier to read