Changed all arrayLists to vectors

Vectors are thread safe, arrayLists are not