Add string leverage function

A new class StringLeverage.java is added to do the leverage.