added support for power operator (e.g. 2^4)