Some minor error corrected
Some auxiliary programs added