Task 3 works for exponent 0 now!