Refactor of original Ruby TTT Game