Mini-exercises
- Create a protocol Area that defines a read-only property area of type Double.
- Implement Area with structs representing Square, Triangle, and Circle.
- Add a circle, a square, and a triangle to an array. Convert the array of shapes to an array of areas using map.