Algorithm numbering - \usepackage[chapter]{algorithm}