a php helper function for creating html unordered lists with indentation