Make problem 14 more efficient.

Removed extraneous printf and switched long to unsigned int.