Optimising hill rendering

Make the hill generation and rendering more optimised by not drawing
all lines but only those visible on the screen.