Refactored to use Array's

Refactored to use Array’s, New Game function added.