double_n_times(value, n) that returns value doubled n times, implemented using the left shift operator << instead of repeated multiplication by 2 or **.double_n_times(3, 4)
48
3 << 4 = 3 * 16 = 48.
double_n_times(1, 0)
1
Shifting by 0 leaves the value unchanged.
`value << n` is equivalent to `value * (2 ** n)` for non-negative n.