Added balancing.

Added balancing code generating.
Updated READE.md .