basic board drawing and program structure