Refactor terrain tiles and simplify css. 

I avoided dealing with left positioning by centering the rows. Don't know if you think this refactoring is clearly better or not. I didn't think too far ahead. I just did it enough to get css background images working instead of using the image element.