Please solve the programming task below using a self-contained code snippet in a markdown code block.

You are given an integer array matchsticks where matchsticks[i] is the length of the ith matchstick. You want to use all the matchsticks to make one square. You should not break any stick, but you can link them up, and each matchstick must be used exactly one time.
Return true if you can make this square and false otherwise.
 
Please complete the following python code precisely:
```python
class Solution:
    def makesquare(self, matchsticks: List[int]) -> bool:
```