Updated code to support windows and print at end

new requirement ipcalc
now prints all at end