add new file

implement pow function