Added a basic loop with a break after 10 iterations and a isTie method to break out of the game