Solved problem 22, uses python to break down text file