Split String Based On Spaces Python