Have problem with overflow in result, when vector\'s size is large. Vector safe only positive numbers (0-9).
int superPow(int a, vector