A semi-lagrangian scheme for hamilton-jacobi-bellman equations on networks