Added board drawing code