Let default python template do common imports like the other languages.

Python users need libraries too. It is common to use math and itertools. The others can be included too as it is just one line.