Added the class that simulate the entire game