Solve Exercise 5-9: day of year functions with pointers

This exercise was fun and taught me a bit about initializing arrays and
working with pointers.