Added tests for the pow function
Implemented both slow and fast power algorithms