Implement QuadVector class

Use QuadVector to compute length and boost on day3