Add line count function
Add error clause to line counter
Fix syntax errors in file functions
Resolve Makefile dependency issues
Add no-argument handler to main