\documentclass[12pt,letterpaper]{article}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amscd}
\usepackage{enumerate}
\usepackage{fancyhdr}
\usepackage{mathrsfs}
\usepackage{bbm}
\usepackage{titleps}
\usepackage{titlesec}
\usepackage{framed}
\usepackage{mdframed}
\usepackage{cancel}
\usepackage{mathtools}
\usepackage{verbatim}
\usepackage{graphicx}
\usepackage[margin=1in]{geometry}
\usepackage{hyperref}

\headsep 1pt

\newcommand{\DUEDATE}{DATE}
\newcommand{\TITLE}{Assignment Title}
\newcommand{\Problem}[2]{\section*{Problem #1 (#2 points)}}
\newcommand{\ImpProblem}[2]{\section*{Implementation Problem #1 (#2 points)}}

% SET THEORY TYPESETTING %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand\N{\mathbb N}
\newcommand\Z{\mathbb Z}
\newcommand\R{\mathbb R}
\newcommand\Q{\mathbb Q}
\newcommand\setbuilder[2]{\ensuremath{\left\{#1\;\middle|\;#2\right\}}}

\DeclarePairedDelimiter\ceil{\lceil}{\rceil}
\DeclarePairedDelimiter\floor{\lfloor}{\rfloor}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% PROBABILITY TYPESETTING %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\prob}[1]{\mathbb{P}\left( #1 \right)}
\newcommand{\condprob}[2]{\mathbb{P}\left( #1 | #2 \right)}

\newcommand\Expect[1]{\mathbb{E} \left[ #1 \right]}
\newcommand\Var[1]{\mathbb{V}    \left[ #1 \right]}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% HEADER STYLING %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\fancypagestyle{firstpage} {
  \renewcommand{\headrulewidth}{0.5pt}
  \setlength{\headsep}{0.2in}
  \lhead{\textbf{CSCI 1450}}
  \chead{\textbf{Intro to Probability for Computing}}
  \rhead{E. Upfal}
}

\fancypagestyle{plain} {
  \renewcommand{\headrulewidth}{0.5pt}
  \setlength{\headsep}{0.2in}
  \lhead{\textbf{CSCI 1450}}
  \chead{\TITLE}
  \rhead{\text{\DUEDATE}}
  \vspace{1}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\pagestyle{plain}

\begin{document}
\thispagestyle{firstpage}

\begin{center}
    \textbf{\Large \TITLE}
    \vspace{10pt}
    \hline
    \vspace{10}
    \textit{Due:} \DUEDATE
\end{center}

\Problem{1}{}



\newpage

\ImpProblem{2}{}

\end{document}
