Adding example and readme for array offsets
Adding example in readme