hw3: refresh screen every board redraw