Change board to String
Remove duplicate code of winner method