Length function for vector2
Dot product for vector2
Remove vector2.zero

1. The name is confusing; it could be interpreted as returning a vector
whose components are zero.
2. The functionality can be achieved using vector2.set.
Improved documentation for vector2
Use getDirectoryItems instead of enumerate

enumerate was removed in 0.9.0
Insert leading spaces to improve readability