Python program that counts lines in .cpp and .h files