Add power function

Just following good exaples