added generating csv file with class number for train pictures and vice
versa