Category of categories with pullbacks is cartesian closed