Workday Interview Question

Write a function to calculate x^y