re-implemented power array extending Array so not to replicate native methods