added generate tile and generate board