Golang Last Index Of Array Python Initialize 2d