Create a new Vector class and implemented a distance method