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