Fixed error in resource.jl and added example bank24.jl