Added begin game function