adding rest of set game and refactored some code.
refactored code to use inheritence