Banking exercise for Ruby training