-Puts a message to the user to let them know the accounts being closed - Then calls the Agent.stop/3 function which terminates a running agent. __MODULE__ references the current module & in this case it is BankAccount. The second param :normal is an atom that tells the process which mode it should shutdown in. Because its not blowing up, and the close will be requested by the user of the module it can be set as normal. The last Param is defaulted to :infinity and doesn't need to be there, but I listed it anyway so that it is clear what timeout option I'm looking for.
{}