Initial checkin of cat for problem 1.