For Loop Over Length Of Array Python