Bad bank dummy and top function added

added dummy function for bad bank in credit market and a simple top
function as well.