*added a function to whipe the board completely
   which will be called each time the board is updated
   It seems like an exspensive method, but I cant think
   of a better alternative at the moment.