Added an options header, makefile, keywords and modified the main code.