made script executeable
ignoring files generated by test
Corrected lines and tab spaces
Implemented and documented script