Added Power Function

Power function power() splits inputted string at ^s and returns the
answer.