added winning alert and newGame functionality