Create powx-n.cpp

Classic question.