Updated .gitignore and log/ folder

Minor changes:
 * Updated .gitignore to ignore all text files
 * Added log/ folder

Signed-off-by: Raffaele Aquilone <aquiloneraf@gmail.com>