   @doc """
   Stops the agent.
 
-  Returns `:ok` if the agent is stopped in the given `timeout`.
+  Returns `:ok` if the agent is stopped within the given `timeout`.
   """
   @spec stop(agent, timeout) :: :ok
   def stop(agent, timeout \\ 5000) do

        @doc "Marks a task as executed"
        def put_task(task, project) do
          item = {task, project}
          Agent.update(__MODULE__, &Set.put(item, &1))
        end
      end



  The function `fun` is sent to the `agent` which invokes the function
  passing the agent state. The function must return a tuple with two
  elements, the first being the value to return (i.e. the get value)
  and the second one is the new state.

  A timeout can also be specified (it has a default value of 5000).
