polar coordinates and complex numbers to pole climber