The left shift operation is similar to multiplication by powers of two.
Sample calculation using the left shift operator (<<):
10 << 3 = 10 * 2^3 = 10 * 8 = 80
-32 << 2 = -32 * 2^2 = -32 * 4 = -128
5 << 2 = 5 * 2^2 = 5 * 4 = 20
Write a function that mimics (without the use of <<) the left shift operator and returns the result from the two given integers.
shift_to_left(5, 2) ➞ 20
shift_to_left(10, 3) ➞ 80
shift_to_left(-32, 2) ➞ -128
shift_to_left(-6, 5) ➞ -192
shift_to_left(12, 4) ➞ 192
shift_to_left(46, 6) ➞ 2944
y.