Pointer Array And Arraylists In Python Formatting Output Python