Added comments for minmax.pl