Draw function works but need to fix the boardState array when it resets