Create vector.js

Javascript implementation of a C++ vector.