
\usepackage{xstring}

\newcommand{\unfinished}{
	\textbf{\textcolor{orange!90}{to be continued...}}
}

\newcommand{\unresolved}{
	\textbf{\textcolor{red!90}{unresolved}}
}

% Create a new environment {exercise} to refer  to exercises from the KNUTH book.
\newenvironment{myexercise}[2]
{
	\addcontentsline{toc}{subsubsection}{Exercise #1}
	\begin{flushleft}
	{
		\Large
		\textbf{Exercise #1.} (p. #2)
	}
	\end{flushleft}
}
{
}

% Create a new environment for big quote with `primarycolor' coloured quote sign
\newenvironment{myquote}
{
	\begin{flushleft}
	{

		\fontsize{75pt}{3pt}\selectfont 
		\textcolor{primarycolor}{\textquotedblleft}
	}
}
{
	\begin{flushright}
	   {
		   \textcolor{primarycolor}{\textquotedblright}
	   }

	\end{flushright}
	\end{flushleft}
}

\newenvironment{myanswer}
{
	\begin{itshape}
	\begin{flushleft}
	{
		\textbf{My Answer}:
	}
}
{
	\end{flushleft}
	\end{itshape}
}

\usepackage{algorithmicx}
\usepackage{algorithm}
\usepackage{algpseudocodex}

