anchor.diff:            end,
       {reply, Ans, State}.
   
  +-spec handle_cast(term(),state()) -> {noreply,state()} |
  +                                     {noreply,state(),hibernate | infinity | non_neg_integer()} |
  +                                     {stop,term(),state()}.
   handle_cast(close, State) ->
  -  {stop, normal, State}.
  +    {stop, normal, State}.
   
   handle_info(_Request, State) ->
  -  {noreply, State}.
  +    {noreply, State}.
   
   terminate(_Reason, _State) ->
  -  ok.
  +    ok.
   
   code_change(_OldVsn, State, _Extra) ->
  -  {ok, State}.
  +    {ok, State}.
  
positive.code: %% ====================================================================
  -spec start_link(integer(),topology()) -> {ok,pid()}.
  start_link(IslandsNr,Topology) ->
    gen_server:start_link({local, ?MODULE}, ?MODULE, [IslandsNr,Topology], []).
  
  -spec close() -> ok.
  close() ->
    gen_server:cast(whereis(?MODULE),close).
  
  -spec getDestination(integer()) -> integer().
  %% @doc Funkcja komunikujaca sie synchronicznie z procesem topology i zwracajaca docelowa wyspe
  %%  na podstawie przeslanego argumentu
  getDestination(X) ->
    gen_server:call(whereis(?MODULE),{destination,X}).
  
  %% ====================================================================
  %% Callbacks
  
negative.code: -record(state, {n,topology}).
  
  init([IslandsNr,Topology]) ->
      misc_util:seedRandom(),
      {ok, #state{n = IslandsNr, topology = Topology}}.
  
  handle_call({destination, X}, _From, State) ->
      Ans = case State#state.n of
  