updated .gitignore and included testing script in repository
removed unnecessary code from p022