added try and catch

+try and catch on deck use in game and tests.
+semantics in comments.
Merge pull request #4 from rabigado/master

added try and catch