added max ocuuring character program