A homemade vector class. For fun and practice, obviously.