fixed all compiler warnings, fixed printing, fixed name in all files