\documentclass{article}

\newcommand{\Title}{Document Title}
\newcommand{\Author}{Author Name(s)}
\newcommand{\grinnellusername}{Author Username(s)}
\newcommand{\classname}{CSC 208 (25sp)}

%%%%% Fonts and Encodings %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[T1]{fontenc}
\usepackage{libertine}

%%%%% General %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[shortlabels]{enumitem}
\setlist{noitemsep}
\usepackage{fancyvrb}
\usepackage[amsmath, amsthm, thmmarks]{ntheorem}
\usepackage{microtype}
\usepackage{url}
\usepackage{tikz}
\usepackage{xcolor}
\usepackage{xspace}

%%%%% Page Formatting %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[
  top=1in,
  bottom=1in,
  left=1in,
  right=1in,
  includefoot,
  paperwidth=8.5in,
  paperheight=11in
]{geometry}

\usepackage{fancyhdr}
\setlength{\headheight}{15.2pt}
\pagestyle{fancy}

\fancyhead{}
\fancyfoot{}
\lhead{\classname{}---\Title, \Author\xspace[\grinnellusername]}
\cfoot{\thepage}

%%%%% Code Formatting %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{listings}
\lstset{
  language=Lisp,
  basicstyle=\footnotesize\ttfamily,
  columns=fullflexible,
  numberstyle=\tiny,
  numbersep=5pt,
  tabsize=2,
  extendedchars=true,
  breaklines=true,
  keywordstyle=\color{blue},
  stringstyle=\color{olive}\ttfamily,
  keepspaces=true,
  showspaces=false,
  showtabs=false,
  xleftmargin=17pt,
  framexleftmargin=17pt,
  framexrightmargin=5pt,
  framexbottommargin=4pt,
  showstringspaces=false
}

% https://tex.stackexchange.com/questions/127010/how-can-i-make-lstinline-function-normally-inside-math-mode
\usepackage{letltxmacro}
\newcommand*{\SavedLstInline}{}
\LetLtxMacro\SavedLstInline\lstinline
\DeclareRobustCommand*{\lstinline}{%
  \ifmmode
    \let\SavedBGroup\bgroup
    \def\bgroup{%
      \let\bgroup\SavedBGroup
      \hbox\bgroup
    }%
  \fi
  \SavedLstInline
}

%%%%% Basic Macros and Definitions %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newtheorem{claim}{Claim}
\newtheorem{invariant}{Invariant}
\newtheorem{defn}{Definition}
\newtheorem{lemma}{Lemma}
\newtheorem{thm}{Theorem}

\newcommand{\pset}[1]{\ensuremath{\mathcal{P}(#1)\xspace}}

\newcommand{\etc}{\emph{etc.}\xspace}
\newcommand{\ie}{\emph{i.e.}\xspace}
\newcommand{\eg}{\emph{e.g.}\xspace}
\newcommand{\etal}{\emph{et al.}\xspace}

\newenvironment{acknowledgements}
  {\noindent\itshape\textbf{Acknowledgements:}}
  {\vspace{2em}}

\newcounter{ProblemCounter}
\newenvironment{problem}[1][] 
  {\refstepcounter{ProblemCounter}\noindent\textbf{Problem \theProblemCounter{} (#1)}\quad}
  {\vspace{2em}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}

\begin{acknowledgements}
  List of people, resources, \etc, used to complete this assignment.
\end{acknowledgements}

\begin{problem}[First Problem]
  My solution for the first problem goes here...
\end{problem}

\begin{problem}[Second Problem]
  My solution for the second problem goes here...
\end{problem}

\end{document}
