added .gitignore
simplified version of vcmp function