I wrote a quaternion class for doing rotations. Once I had created the quaternion class and written the slerp function I drew a teapot infront of the camera and gave it a basic texture and lighting. After giving the tepot a random rotation around a arbitrary axis, it was possible to press up and down on the arrow keys to interpolate between the the teapot's starting rotated orientation and its original starting orientation.