Write a function P4:
Mr. Park ((1+6i) years old) has two eyes, so he loves 2i. He wants to advertise the base 2i system.
In the base 2i system, each complex number has the following representation: \[\cdots d_2d_1d_0.d_{-1}d_{-2}\cdots\] which means \[\cdots+d_2\cdot b^2+d_1\cdot b^1+d_0\cdot b^0+d_{-1}\cdot b^{-1}+d_{-2}\cdot b^{-2}+\cdots\] where b=2i, and d_k∈0,1,2,3 for each k.
input parameter: two integers x, y satisfying max(∣x∣,∣y∣)≤106
return value: the string representing the complex number x+iy in the base 2i system, satisfying the followings:
0', '1', '2', '3', '.'..'..'..'.0' if there are more than one character before '.'.For example, 31.0 is the base 2i representation of 1+6i since 1+6i=3⋅(2i)1+1⋅(2i)0+0⋅(2i)−1