Task 1 (Position-Based Dynamics)
A possible solution can be found at https://sauce.zdv.uni-mainz.de/submissions/60774/show