Converting String Into Array Python Practice