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