working on DataI/O and Counting Stars Exercises