changed solarsystem class so it reads from the text file