source code for x raise to the power y