more code of game. generating graphs now