(expt) returns exact number if possible
Added more tests