add composer.lock to gitignore
add vendor folder to gitignore
add new functions + tests