Due Payment Logic Done . Some minimal Updation  still needs to be done