Change Array Index Python Method Chaining Python Snake