Write the pseudocode for the Graham scan algorithm and trace it for the points provided in the diagram below. Assume that the points are numbered from P1 to P5 in the ascending order of the counterclockwise polar angle they make with the horizontal line passing through P1. [CO:5, L3] [2+8=10 marks]
P1
P2
P3
P4
P5