Added 'if' statements to function at each bill denomintation

added modifier to bills variable