added some commented code, trying to figure out how to print out periods that
are taken or not.