Algotrithm For Modular Programming