Implemented a Year-to-Integer converter