Slicing 2d Array In Python Code