I've found this great easy to follow document about algorithms in LaTeX:
The algorithms bundle.
It covers the algorithm and algorithmic environments, the state, comment, loops, conditions and even its customizations.
./M6
Software related information one might find useful.