The program works and meets all the requirements.