Added Array invertor class