Implemented a sonar system.