Slicing Of Array In Python Problem