working thru assignment 1 [yet todo - 3 card game]