removed global varaible from print_board()