Added Upwind Snipet

This update adds a snipet that actually does the upwind calculation for
the grid. Unfortunantly there is a problem with my syntax, since python
is not treating j as an interger (see ln47).