Added few basic tests and a make file. Also fixed default arguments to grep in grep.js