Sample algorithms related to Banking System