Implement JUnit test and MaxAlgorithm class.