One possibility is the following code, but please see that I leave the exact formatting of the used variables in your algorithm to you. You did not explain the code, so please check the formatting, for example if Work is a variable you can better format it with \mathit{Work}.
I used the packages
\usepackage{algorithm}% <=================http://ctan.org/pkg/algorithms
\usepackage{algpseudocode}% <========== http://ctan.org/pkg/algorithmicx
Using other packages results in other coding, so please read the documentations (please follow the given links in the comments).
With the following code
\documentclass{article}
\usepackage{algorithm}% <=================http://ctan.org/pkg/algorithms
\usepackage{algpseudocode}% <========== http://ctan.org/pkg/algorithmicx
\begin{document}
\begin{algorithm}
\begin{algorithmic}[1] % numbering starts with 1
\Procedure {COVERABILITY-GRAPH}{$S$,$T$,$F$,$M_0$}% \Comment{my name is Xyz}
\State $(V,E,v_0):=(\{M_0\},\emptyset,M_0)$ % := --> \gets
\State $Work:$ set $:=\{M_0\}$
\While {$Work \neq \emptyset$}
\State select $M$ from $Work$
\State $Work:=Work\setminus\{M\}$
\For {$t\in$ enabled(M)}
\State $M':=$ fire($M,t);$
\State $M':=$ AddOmegas($M,t,M',V,E$)
\If {$M'\not \in V$}
\State $V:=V\cup \{M'\}$
\EndIf
\State $E:=E\cup\{(M,t,M')\}$
\EndFor
\EndWhile
\State \Return $(V,E,v_0)$
\EndProcedure
\Procedure {ADDOMEGAS}{$M,t,M',V,E$}
\For {$M''\in V$}
\If {$M''<M'$ \textbf{and} $M''\rightarrow{*}_{E} M$}
\State $M':=M'+((M'-M'')\omega)$
\EndIf
\EndFor
\State \Return $M'$
\EndProcedure
\caption{COVERABILITY}\label{alg:COVERABILITY}
\end{algorithmic}
\end{algorithm}
\end{document}
you get the following result:

\textbf{for}. – Apr 20 '19 at 18:10