Task 1

edit

This is my practice area for my further tasks given by google, in the competition 'Google Code-in '.

Task 2

edit
 

'imgs' is the local variable name of the list that stores the filename.