Condensed the three set functions in graphics to one newBoard function