made code easier to follow.
Changed method of checking keys in dictionary. "it's easier to ask forgiveness than permission"
Nearest algorithm sorts by distance and load
This way a client will pick the nearest squid to it, that also has the
lowest load.