creating newGame function,signals and slot