Speterate class and testing program.