Update render.c

finished code for north