Class number tabulation program