Non-Newtonian power-law fluid flow over obstacles embedded inside a cavity