Added header with LGLP license to files
modifed printf to prefix ! char