Bangladesh beat West Indies by 18 runs in 3rd ODI