1 - simplified KenSilverman check
2 - optimized file grouping error condition
3 - added debug messages to said error
4 - removed unused short "pag"
5 - added -Wall -Wextra -pedantic to flags