Added error checking for nurv
Added makefile