Refactored startNetwork method
Setting networkTask to null when stopping network
Using tuples for keys
Added clearRangeStartsWith method