Merge pull request #1 from smartkode0/master

add optimization to see if  new hosts is same as prev hosts
Create testing.c
Merge remote-tracking branch 'upstream/master'
put working