added == and != operators to vector class and fixed list.h locks