Implemented a basic alarm system with notification.