Added .gitignore file
Fix 'legend: too many labels' error