Add gitignore file.
Code cleanup. Had to add "-" before methods.