Add the functionality to clear screen before drawing the board