Wooden fence and retaining wall