added comments to all methods execept the complicated routey ones.
refactored the variable names.
refactored vector and removed unused Point class.
added comments
added comments to methods.