testing power method

main method