Bank practice problem from Ruby Meetup