tex-2: Using algorithm and algorithmic package in Latex