Algorithm2e is an environment for writing algorithms in LaTeX2e.
An algorithm is defined as a floating object like figures.  
It provides macros that allow you to create different sorts of key
words, thus a set of predefined key words is given. You can also
change the typography of the keywords.


You can subscribe to algorithm2e-announce mailing list to receive
announcements about revisions of the package and to
algorithm2e-discussion to discuss, send comments, ask questions about
the package.
In order to subscribe to the mailing lists you have to send an email to
sympa@lirmm.fr with:
subscribe algorithm2e-announce Firstname Name
subscribe algorithm2e-discussion Firstname Name
in the body of the message.

see the documentation for explanation and examples.