Microsoft Interview Question

write function that calculate x^y