[Fixed #10, #11] Added two macros to create list of figures and tables.