add javadoc of samedigitsproduct, chg return value type to map