Write a function 'perim' that receives the radius r of a circle and calculates and returns the perimeter p of the circle (p = 2 * pi * r).
a) p = 2 * pi * r
b) p = pi * r^2
c) p = pi/2 * r
d) p = pi/r