Basic ip counting logic
Merge pull request #129 from church29/Range_of_1

Works perfectly