added vector class for moving through 3 dimensions